package com.facebookapp.framework;

public class FaceBookEvent {
	public static native void registerEvent(String eventName, FacebookEventListener listener)/*-{
		FB.Event.subscribe(eventName, function(response) {
			listener.@com.facebookapp.framework.FacebookEventListener::onEvent(Ljava/lang/String;)(response);
		});
	}-*/;
}
